﻿Imports System.ComponentModel
Public Class UC_CauThu1
    Implements IDaTa

    Public Sub CapNhat() Implements IDaTa.CapNhat

    End Sub

    Public Sub Them() Implements IDaTa.Them

    End Sub

    Public Sub Xoa() Implements IDaTa.Xoa

    End Sub

    Sub New()
        Me.Dock = DockStyle.Fill
        ' This call is required by the designer.
        InitializeComponent()

        ' Add any initialization after the InitializeComponent() call.

    End Sub
    Dim listCauThu As New BindingList(Of CAUTHU)
    Protected Overrides Sub OnLoad(e As EventArgs)
        MyBase.OnLoad(e)
        Dim context As New LinDataContext
        listCauThu = context.CAUTHUs.GetNewBindingList()

        gridCauThu.DataSource = listCauThu

    End Sub
End Class
